<%@page import="com.xnx3.wangmarket.Authorization"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>  
<%@ taglib uri="http://www.xnx3.com/java_xnx3/xnx3_tld" prefix="x" %>
<jsp:include page="/wm/common/head.jsp">
	<jsp:param name="title" value="管理后台"/>
</jsp:include>
<script src="${STATIC_RESOURCE_PATH}js/fun.js"></script>

<div id="content" style="width: 100%;height:100%;position: absolute;border-right: 150px;box-sizing: border-box; ">
	<iframe name="iframe" id="iframe" frameborder="0" style="width:100%;height:100%;box-sizing: border-box;"></iframe>
</div>

<script>

/**
 * 在主体内容区域iframe中加载制定的页面
 * url 要加载的页面的url
 */
function loadUrl(url){
	if(url.indexOf('/user/logout.do') > 0){
		//兼容2.1及以前版本
		logout();
		return;
	}
	document.getElementById("iframe").src=url;
}

//加载登录后的默认页面
loadUrl('/superadmin/statistics/dataJump.jsp');
</script>
<jsp:include page="/wm/common/foot.jsp"></jsp:include>  